import {AxiosPromise} from "axios";
import request from "@/utils/request";

/**
 * 上传文件，返回短路径保存时保存短路径
 *
 * @param data
 */
export function uploadImage(data: any) {
    return request({
      url: '/file/upload',
      method: 'post',
      data: data
    })
  }









